<template>
    <div class="addProject business-workAdd">
        <div class="addForm zll-form">
			<el-form :model="addForm" :rules="rules" ref="addForm" class="demo-ruleForm">
                <el-row :gutter="40">
                    <el-col :span="8">
                        <div class="text-formList">
                            <span class="text_left">客户：</span>
                            <span class="text_right">{{ addForm.data1 }}</span>
                        </div>
                        <div class="text-formList">
                            <span class="text_left">退货号：</span>
                            <span class="text_right">{{ addForm.data2 }}</span>
                        </div>
                    </el-col>
                    <el-col :span="8">
                        <div class="text-formList">
                            <span class="text_left">退货状态：</span>
                            <span class="text_right">{{ addForm.data3 }}</span>
                        </div>
                        <div class="text-formList">
                            <span class="text_left">备注：</span>
                            <span class="text_right">{{ addForm.data4 }}</span>
                        </div>
                    </el-col>
                    <el-col :span="8">
                        <div class="text-formList"></div>
                        <div class="text-formList">
                            <span class="text_left">受理人：</span>
                            <span class="text_right">{{ addForm.data5 }}</span>
                        </div>
                    </el-col>
                </el-row>
                <div class="tableList" style="margin-top: 0;">
                    <table border="1">							
                        <tr>																					
                            <th>订单号</th>
                            <th>品类</th>
                            <th>品名</th>
                            <th>规格</th>
                            <th>单件(万支)</th>
                            <th>件数</th>
                            <th>已发货</th>						
                        </tr>
                        <tr  class="add_Table">
                            <td><p>{{ addForm.data1 }}</p></td>
                            <td><p>{{ addForm.data2 }}</p></td>
                            <td><p>{{ addForm.data3 }}</p></td>
                            <td><p>{{ addForm.data4 }}</p></td>
                            <td><p>{{ addForm.data5 }}</p></td>
                            <td><p>{{ addForm.data6 }}</p></td>
                            <td><p>{{ addForm.data8 }}</p></td>
                        </tr>
                    </table>
                </div>
                <div class="nav_list">
                    <div class="_title"><i class="iconfont icon-daifahuo"></i>退货入库</div>
                    <el-row :gutter="40"  class="tableList">
                        <el-col :span="8">
                            <el-form-item class="formList" prop="data9" label="物流到件：">
                                <el-input clearable class="input_right"  v-model="addForm.data9" :disabled="type == 'see'"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="8">
                            <el-form-item class="formList" prop="data10" label="备注：">
                                <el-input clearable class="input_right"  v-model="addForm.data10" :disabled="type == 'see'"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="8">
                            <el-form-item class="formList" prop="data11" label="报数人：">
                                <el-input clearable class="input_right"  v-model="addForm.data11" :disabled="type == 'see'"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                </div>
                <div class="nav_list">
                    <div class="_title"><i class="iconfont icon-daifahuo"></i>退货处理</div>
                    <el-row :gutter="40"  class="tableList">
                        <el-col :span="8">
                            <el-form-item class="formList" prop="data12" label="应退件数：">
                                <el-input clearable class="input_right"  v-model="addForm.data12" :disabled="type == 'see'"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="8" :offset="8">
                            <el-form-item class="formList" prop="data13" label="确认人：">
                                <el-input clearable class="input_right"  v-model="addForm.data13" :disabled="type == 'see'"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                </div>
            </el-form>
        </div>
    </div>
</template>
<script>

export default {
    props: ['editData','type'],
    data(){
        return {
            addForm: {
                data1:'',
                data2:'',
                data3:'',
                data4:'',
                data5:'',
                data6:'',
                data7:'',
                data8:'',
                data9:'',
            },
        }
    },
    methods: {
		submitForm(val,type) {
			let self = this;
            self.$eventBus.$emit("updateWorkList");
		},
    },
    mounted(){
    },
    components: {},
}
</script>
<style lang="scss" scoped>
@import "@/style/dialog.scss";
.dc {
    width: 100px;
    background: #e6a23c;
}
.nav_list {
    margin-top: 20px;
    ._title {
        line-height: 40px;
        color: #00D1D0;
        i {
            font-size: 16px;
            margin-right: 5px;
        }
    }
}
</style>